<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人中心</title>

<link href="/resource/bootstrap-4.3.1/css/bootstrap.css" rel="stylesheet">

<script type="text/javascript" src="/resource/js/jquery-3.2.1/jquery.js"></script>
<script type="text/javascript" src="/resource/js/jquery.validate.js"></script>
<script type="text/javascript" src="/resource/js/jqueryvalidate/localization/messages_zh.js"></script>
<script type="text/javascript" src="/resource/bootstrap-4.3.1/js/bootstrap.js"></script>


<link rel="stylesheet" href="/resource/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="/resource/kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="/resource/kindeditor/kindeditor-all.js"></script>
<script charset="utf-8" src="/resource/kindeditor/lang/zh-CN.js"></script>
<script charset="utf-8" src="/resource/kindeditor/plugins/code/prettify.js"></script>
	
</head>
<body>

<nav class="navbar navbar-expand-lg navbar-light bg-light  justify-content-end">
  <a class="navbar-brand" href="#"><img alt="logo" src="/resource/images/logo.png" width="40px" height="40px"> </a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
    <ul class="navbar-nav">
      <li class="nav-item active">
        <a class="nav-link" href="#"><img alt="头像" src="/resource/images/avatar1.jpg" width="35px" height="35px"> </a>
      </li>
     
      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          		个人中心
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <a class="dropdown-item" href="#">设置</a>
          <a class="dropdown-item" href="/">首页</a>
          <a class="dropdown-item" href="/user/logout">登出</a>
        </div>
      </li>
    </ul>
  </div>
</nav>
<div class="container-fluid" style="margin-bottom:50px">
	<div class="row">
		<div class="col-md-1">1</div>
		<!-- 菜单 -->
		<div class="col-md-2">
			 <div class="list-group" id="list-tab" role="tablist" style="margin-top:20px">
			      <a class="list-group-item list-group-item-action active" id="list-home-list" onclick="showWork(this,'/user/myarticles')" role="tab" aria-controls="home">文章列表</a>
			      <a class="list-group-item list-group-item-action" id="list-profile-list"  onclick="showWork(this,'/user/addArticle')" role="tab" aria-controls="profile">添加文章</a>
			      <a class="list-group-item list-group-item-action" id="list-messages-list"  role="tab" aria-controls="messages">我的评论</a>
			      <a class="list-group-item list-group-item-action" id="list-settings-list"  role="tab" aria-controls="settings">个人设置</a>
			  </div>
    
		</div>
		<!-- 工作区域 -->
		<div class="col-md-8" id="workContent">
			
		</div>		
	</div>
</div>

<script type="text/javascript">
	function showWork(obj,url){
		$("#workContent").load(url);
	}
	
	KindEditor.ready(function(K) {
		var editor1 = K.create();
		prettyPrint();
	});
	
</script>

<nav class="navbar navbar-expand-lg navbar-light bg-light   fixed-bottom">
  <div class="collapse navbar-collapse justify-content-center " id="navbarNavDropdown">
  		万岁1709B  月底成才100% 
  </div>
</nav>


  


</body>
</html>